package org.shuzhou.model;

public class PersonalInfo {
    private String name;
    private String gender;
    private String ethnicity;
    private String idNumber;
    private String dateOfBirth;
    private String phoneNumber;
    private String email;
    private String address;
  
    public PersonalInfo(String name, String gender, String ethnicity, String idNumber, String dateOfBirth, String phoneNumber, String email, String address) {
        this.name = name;
        this.gender = gender;
        this.ethnicity = ethnicity;
        this.idNumber = idNumber;
        this.dateOfBirth = dateOfBirth;
        this.phoneNumber = phoneNumber;
        this.email = email;
        this.address = address;
    }
  
    // getter and setter methods for each field
  
    public String getName() {
        return name;
    }
  
    public void setName(String name) {
        this.name = name;
    }
  
    public String getGender() {
        return gender;
    }
  
    public void setGender(String gender) {
        this.gender = gender;
    }
  
    public String getEthnicity() {
        return ethnicity;
    }
  
    public void setEthnicity(String ethnicity) {
        this.ethnicity = ethnicity;
    }
  
    public String getIdNumber() {
        return idNumber;
    }
  
    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }
  
    public String getDateOfBirth() {
        return dateOfBirth;
    }
  
    public void setDateOfBirth(String dateOfBirth) {
        this.dateOfBirth = dateOfBirth;
    }
  
    public String getPhoneNumber() {
        return phoneNumber;
    }
  
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
  
    public String getEmail() {
        return email;
    }
  
    public void setEmail(String email) {
        this.email = email;
    }
  
    public String getAddress() {
        return address;
    }
  
    public void setAddress(String address) {
        this.address = address;
    }
}